package com.zhkc.wisdom.common.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


/**
 * @Description 树VO
 * @User zzw
 * @Date 11:02 2023/11/5
 * @company zhkc
 */
@Schema(description = "树VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeVO implements Serializable {
    /**
     * 编号
     */
    @Schema(description = "编号")
    private String id;

    /**
     * 值-同编号(下拉树用到)
     */
    @Schema(description = "值-同编号(下拉树用到)")
    private String value;

    /**
     * 树编码
     */
    @Schema(description = "树编码")
    private String label;

    /**
     * 树图标
     */
    @Schema(description = "树图标")
    private String iconImage;

    /**
     * 孩子节点
     */
    @Schema(description = "孩子节点")
    private List<TreeVO> children;
}
